bitkeeper revision 1.1236.1.198 (424e4a89leX7XO7bU7Dkch4KS5zLhQ)
authorleendert@watson.ibm.com[kaf24] <leendert@watson.ibm.com[kaf24]>
Sat, 2 Apr 2005 07:32:25 +0000 (07:32 +0000)
committerleendert@watson.ibm.com[kaf24] <leendert@watson.ibm.com[kaf24]>
Sat, 2 Apr 2005 07:32:25 +0000 (07:32 +0000)
commit39d08bc1ba61719872d817f859d52a3c4bdbe00f
tree0b8ca1128a9284c96ec5a8735a1e5c89d32f0752
parentb67d9ea72347d9643b46d4003391774eb4b1187f
bitkeeper revision 1.1236.1.198 (424e4a89leX7XO7bU7Dkch4KS5zLhQ)

[PATCH] [PATCH] VMX support for MMIO/PIO in VM8086 mode

Memory mapped and port I/O is currently broken under VMX when the
partition is running in VM8086 mode. The reason is that the instruction
decoding support uses 32-bit opcode/address decodes rather 16-bit
decodes. This patch fixes that. In addition, the patch adds support for
the "stos" instruction decoding because this is a frequently used way
to clear MMIO areas such as the screen.

As an aside, vmx_platform.c should really reuse x86_emulate.c as much
as possible.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
===== tools/ioemu/iodev/cpu.cc 1.7 vs edited =====
tools/ioemu/iodev/cpu.cc
xen/arch/x86/vmx.c
xen/arch/x86/vmx_platform.c